<template>
  <div class="header">
    <a class="new-a-back">
      <router-link to="/personal">
      <img src="../assets/img/back_btn.png" alt="" />
      </router-link>
    </a>
    <h2>欢迎注册</h2>
    <a href="" class="new-a-3yx">
      <span>首页</span>
    </a>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.header {
  position: relative;
  z-index: 1;
  height: 45px;
  background: #5190ff;
  margin-bottom: 30px;
  //   display: flex;
  h2 {
    height: 45px;
    line-height: 45px;
    font-weight: normal;
    font-size: 16px;
    color: #fff;
    text-align: center;
  }
  .new-a-back {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 30px;
    height: 32px;
    img {
      width: 18px;
    }
  }
  .new-a-3yx {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 37px;
    height: 30px;
    span {
      display: inline-block;
      width: 30px;
      height: 30px;
      margin: 3px 0 0 8px;
      background: url("../assets/img/icon2b.png") 0px -99px no-repeat;
      text-indent: -9999px;
    }
  }
}
</style>